* {
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  background-color: #F4F4F4;
}

.box {
  width: 990px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.box .item {
  position: relative;
  cursor: pointer;
  background-color: white;
  width: 190px;
  height: 266px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  box-sizing: border-box;
  padding: 20px 10px;
  margin: 0 10px 10px 0;
}

.box .item img {
  display: block;
  width: 100%;
  height: 100%;
}

.box .item .item-img {
  width: 120px;
  height: 120px;
}

.box .item .item-title {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.box .item .item-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.box .item .item-footer .red {
  color: red;
}

.box .item:hover::after {
  position: absolute;
  content: "";
  z-index: 100;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(255, 255, 255, 0.1);
}

.box > div:nth-child(5n) {
  margin-right: 0;
}
